package homework_07.home_03;

public class YuanGong {
    private String xingming;
    private String shenfen;

    public YuanGong() {
    }

    public YuanGong(String xingming) {
        this.xingming = xingming;

    }

    public YuanGong(String xingming, String shenfen) {
        this.xingming = xingming;
        this.shenfen = shenfen;
    }

    public String getXingming() {
        return xingming;
    }

    public void setXingming(String xingming) {
        this.xingming = xingming;
    }

    public String getShenfen() {
        return shenfen;
    }

    public void setShenfen(String shenfen) {
        this.shenfen = shenfen;
    }
}
